package com.xuecheng.common.enums.content;

import com.xuecheng.common.enums.StatusAnnotation;
import com.xuecheng.common.enums.StatusEnum;

/**
 * 评论对象类型
 */
@StatusAnnotation(name = "对象类型",code="500")
public enum TargetTypeEnum implements StatusEnum {

    TARGET_TYPE_COURSE("500001","课程"),
    TARGET_TYPE_ARTILE("500002","文章"),
    TARGET_TYPE_PRODUCT("500003","商品");


    String code;
    String desc;

    TargetTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
